body
{
    padding: 0px;
    margin: 0px;
    background: url(../images/bg.jpg) repeat-x #f9f9f9;
    font-family:Tahoma, Arial, Sans-Serif;
}
ul, li
{
    padding: 0px;
    margin: 0px;
}
ul
{
    list-style: none;
}
a img
{
    border: none;
}
.fl
{
    float: left;
}
.fr
{
    float: right;
}
.clr
{
    clear: both;
}
.clearfix:after
{
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix
{
    display: inline-block;
}

html[xmlns] .clearfix
{
    display: block;
}

* html .clearfix
{
    height: 1%;
}
.btn
{
    background: url("../images/btn.jpg") no-repeat scroll 0 0 transparent;
    border: 0 none !important;
    font-size: 10px;
    height: 25px !important;
    line-height: 21px;
    margin-top: 13px;
    padding-bottom: 4px;
    width: 65px !important;
    cursor:pointer;
}
#wrap
{
    width: 1024px;
    margin: 0 auto;
}
#head-wrap
{
    position: relative;
    height: 125px;
}
#logo
{
    position: absolute;
    top: 30px;
    left: 15px;
}
#top-menu
{
    position: absolute;
    right: 30px;
    top: 10px;
}
#top-menu li
{
    float: left;
}
#top-menu li a
{
    color: #555555;
    font-family: Tahoma,Geneva,sans-serif;
    font-size: 10px;
    padding-left: 15px;
    text-decoration: none;
    text-transform: uppercase;
}
#top-menu li a:hover
{
    color: #333;
}
#main-menu
{
    background: url("../images/bg_mainmenu.jpg") repeat-x scroll 0 0 transparent;
    border: 1px solid white;
    height: 36px;
    left: 0;
    position: absolute;
    top: 85px;
    width: 100%;
}
#main-menu ul
{
    float: left;
}
#main-menu ul li
{
    float: left;
}
#main-menu ul li a
{
    color: white;
    font-family: tahoma;
    font-size: 12px;
    font-weight: bold;
    height: 36px;
    line-height: 36px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}
#main-menu ul li a:hover
{
    background: #2f8eca;
}

#main-menu ul li a img
{
    padding-top: 6px;
}

#search
{
    background: url("../images/bg_search.jpg") no-repeat scroll 0 0 transparent;
    float: right;
    height: 27px;
    margin-right: 5px;
    margin-top: 4px;
    padding-top: 2px;
    width: 281px;
}
#search input
{
    float: left;
}
#search input#txtsearch
{
    border: medium none;
    color: #AAAAAA;
    float: left;
    font-family: arial;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    padding-left: 5px;
    width: 249px;
}
#content-wrap #category
{
    background: url("../images/bg-category.png") no-repeat scroll 0 0 #fff;
    float: left;
    padding-top: 10px;
    width: 192px;
}
#content-wrap #category #title-category
{
    color: #555555;
    font-family: Tahoma,Geneva,sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-indent: 12px;
}
#content-wrap #category ul
{
    border: 1px solid #e7ebee;
    border-top: none;
    padding-top: 15px;
}
#content-wrap #category ul li
{
    background: url("../images/style_category.jpg") no-repeat scroll 10px 12px transparent;
    border-bottom: 1px dotted #C9C9C9;
    padding-left: 30px;
}
#content-wrap #category ul li:last-child
{
    border: none;
}
#content-wrap #category ul li a
{
    color: #434C59;
    font-family: Tahoma;
    font-size: 11px;
    text-decoration: none;
    text-transform: capitalize;
    height: 30px;
    line-height: 30px;
}
#content-wrap #category ul li.active a
{
    color: #073b9c;
    font-weight: bold;
}
#content-wrap #category ul li ul
{
    display: none;
}
#content-wrap #category ul li ul
{
    border: none;
    padding-top: 0px;
}
#content-wrap #category ul li ul li
{
    background: url(../images/style-child-category.png) no-repeat scroll 0px 13px transparent;
    border: none;
    padding-left: 15px;
}
#content-wrap #category ul li ul li a
{
    color: #434C59 !important;
    font-size: 11px;
    font-weight: normal !important;
}
#main-content-wrap
{
    width: 610px;
    float: left;
    margin: 0px 5px;
}
.item-news
{   
    background:#fff;
    border: 1px solid #e7ebee;
    min-height: 40px;
    padding: 5px;
    margin-bottom: 5px;
}
.item-news .title
{
    height: 20px;
    line-height: 20px;
    margin: 5px 0;
    padding: 0;
}
.item-news .title a
{
    color: #666666;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 15px;
    text-decoration: none;
    float: left;
    width: 550px;
}
.item-news .title span
{
    border-bottom: 1px dashed #CCCCCC;
    color: #666666;
    font-family: arial;
    font-size: 14px;
    margin: 10px 0;
    padding: 0 0 10px;
    text-transform: uppercase;
    display:block;
}
.item-news .title a:hover
{
    color: #052e7a;
}
.item-news .list-category
{
    margin-bottom: 5px;
    padding-bottom: 5px;
    color: #555;
}
.item-news .list-category
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px dotted #C9C9C9;
    margin-bottom: 20px;
}
.item-news .list-category a
{
    color: #666;
    text-decoration: none;
    font-weight: normal;
}
.item-news .avatar-news
{
    margin: 0 auto;
    width: 445px;
    display: block;
}
.item-news .info-news
{
    border-top: 1px dotted #C9C9C9;
    margin-top: 20px;
    padding-top: 8px;
}
.item-news .description-news
{
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
    width: 420px;
}
.item-news .contetnt-news
{
    text-align: justify;
    font-family: Arial;
    font-size: 11px;
}
.item-news .edit-post
{
    background: url("../images/edit-post.png") no-repeat scroll 0 0 transparent;
    float: right;
    height: 20px !important;
    width: 20px !important;
}
.item-news .delete-post,
.item-comment .delete-comment
{
    background: url("../images/del-post.png") no-repeat scroll 0 0 transparent;
    float: right;
    height: 20px !important;
    width: 20px !important;
}
.item-news .user
{
    background: url("../images/user.png") no-repeat scroll 0 0 transparent;
    color: #555555;
    display: block;
    float: left;
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
    height: 15px;
    line-height: 17px;
    padding-left: 20px;
}


#nav-content-wrap
{
    background:#fff;
    border: 1px solid #E7EBEE;
    float: left;
    padding-top: 10px;
    width: 210px;
}
#box-login
{
    border-bottom: 1px solid #ECEFF1;
    margin: 0 auto 15px;
    padding-bottom: 5px;
    width: 205px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}
#user-name
{
    background: url(../images/icon-login.png) no-repeat;
    height: 23px;
    padding-left: 20px;
    margin-bottom: 3px;
}
#box-login input[type="text"], #box-login input[type="password"]
{
    border: 1px solid #CCCCCC;
    height: 18px;
    margin-right: 3px;
    color: #555;
    font-size: 12px;
    line-height: 18px;
    padding-left: 5px;
    width: 125px;
}
#pass-word
{
    background: url(../images/icon-login.png) 0px -23px no-repeat;
    height: 23px;
    padding-left: 20px;
    margin-bottom: 10px;
}
#pass-word input
{
    float: left;
}
#box-login a
{
    text-decoration: none;
    color: #555;
    padding-left: 5px;
    line-height: 17px;
}
/* main-content login */
#main-content-wrap
{
}
#main-content-wrap #box-login
{
    text-align: left;
    border: 1px solid #ECEFF1;
    width: 600px;
    padding: 10px 5px;
}
/* info user */
.box-infouser
{
    margin: 0px 5px 5px;
    border-bottom: 1px solid #ECEFF1;
    padding-bottom: 10px;
}
.box-infouser .avatar
{
    width: 70px;
    padding: 1px;
    border: 1px solid #ECEFF1;
    float: left;
    margin-right: 20px;
}
.box-infouser a
{
    color: #666666;
    display: block;
    float: left;
    font-family: tahoma;
    font-size: 10px;
    height: 22px;
    line-height: 15px;
    margin-right: 10px;
    padding-left: 20px;
    text-decoration: none;
}
.box-infouser .user
{
    background: url(../images/user.png) no-repeat;
    margin-top: 10px;
}
.box-infouser .logout
{
    background: url(../images/logout.png) no-repeat;
}
.box-infouser .addnews
{
    background: url(../images/addnews.png) no-repeat;
}

/* Top Poster */
#top-poster
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #555;
    padding-left: 10px;
}
#top-poster div
{
    float: left;
    line-height: 20px;
}
#top-poster .number
{
    font-weight: bold;
    width: 25px;
    text-align: left;
}
#top-poster .poster
{
    padding-left: 10px;
    padding-right: 10px;
    width: 110px;
}
#top-poster .total
{
    font-weight: bold;
    width: 45px;
}
/* list comment */
#list-comment
{
    border: #e7ebee solid 1px;
    padding: 10px;
    margin-top: 5px;
    font-family: Tahoma, Geneva, sans-serif;
    color: #666;
    font-size: 11px;
    background:#fff;
}
#list-comment .item-comment
{
    border-bottom: 1px solid #e7ebee;
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}
#list-comment .item-comment:last-child
{
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
#list-comment .item-comment .avt
{
    width: 53px;
    height: 57px;
    padding: 1px;
    border: 1px solid #ccc;
    float: left;
    margin-right: 10px;
}
#list-comment .item-comment h4
{
    padding: 0px;
    margin: 0px;
}
#list-comment .item-comment .description-news
{
}
#list-comment .item-comment .comment-date
{
    position: absolute;
    right: 0px;
    bottom: 10px;
    font-size: 10px;
}
#box-comment
{
    background:#fff;
    border: 1px solid #E7EBEE;
    padding: 10px;
    color: #666666;
    font-family: Tahoma,Geneva,sans-serif;
    margin-top: 5px;
}
#box-comment label
{
    font-size: 12px;
    font-weight: bold;
    line-height: 30px;
    padding-left: 1px;
}
#box-comment TextArea
{
    height: 80px;
    margin-bottom: 10px;
    resize: none;
    width: 100%;
}

/* register */

#content-wrap #register
{
    border: 1px solid #E7EBEE;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 30px;
    background:#fff;
}
#content-wrap #register h1
{
    border-bottom: 1px dashed #CCCCCC;
    color: #666666;
    font-family: arial;
    font-size: 14px;
    margin: 10px 0;
    padding: 0 0 10px;
    text-transform: uppercase;
}
#content-wrap #register p
{
    color: #666666;
    font-family: arial;
    font-size: 11px;
    line-height: 17px;
    margin: 3px 0px;
}
#content-wrap #register form
{
    padding-top: 12px;
    width: 548px;
}
#content-wrap #register form input
{
    border: 1px solid #CCCCCC;
    display: block;
    float: left;
    height: 18px;
    margin-top: 10px;
    width: 216px;
    margin-bottom: 5px;
}
#content-wrap #register form label
{
    color: #666666;
    float: left;
    font-family: tahoma;
    font-size: 11px;
    height: 29px;
    line-height: 45px;
    margin-top: -5px;
    width: 100px;
}

#content-wrap #register form img
{
    float: left;
    margin-top: 28px;
    padding-right: 1px;
}
#content-wrap #register form .captcha
{
    margin-top: 29px;
    width: 113px;
}
#content-wrap #register form .security
{
    margin-top: 20px;
}
#content-wrap #register form #btnRegister
{
    border: 1px solid #E5EAED;
}
#content-wrap #register span
{
    display: block;
    font-family: tahoma;
    font-size: 11px;
    height: 20px;
    line-height: 12px;
    padding-left: 100px;
}
#content-wrap #register #error_msg
{
    color: #FF0000;
    font-family: arial;
    font-size: 11px;
    line-height: 20px;
}
#content-wrap #register span span
{
    padding-left: 0px;
}
#content-wrap #register #IsRegistered
{
    color: #666666;
    font-family: arial;
    font-size: 12px;
}
#content-wrap .left-register
{
    float: left;
    width: 360px;
}
.left-register #box-preview
{
    margin-top: 0px;
}
.left-register .UserName
{
    color: red !important;
    font-family: arial;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}
/* box - create */
#box-create
{
    border: 1px solid #E7EBEE;
    padding-left: 20px;
    padding-right: 5px;
    padding-bottom: 30px;
    background:#fff;
}
#box-create h1
{
    border-bottom: 1px dashed #CCCCCC;
    color: #666666;
    font-family: arial;
    font-size: 12px;
    margin: 10px 0;
    padding: 0 0 10px;
    text-transform: uppercase;
}
#box-create #content-left
{
    float: left;
    width: 442px;
    margin-bottom: 10px;
}
#box-create #content-left input
{
    border: 1px solid #CCCCCC;
    display: block;
    float: left;
    height: 18px;
    margin-top: 10px;
    width: 360px;
}
#box-create #content-left label
{
    color: #666666;
    float: left;
    font-family: tahoma;
    font-size: 11px;
    height: 29px;
    line-height: 45px;
    width: 70px;
}
#box-create #content-left select
{
    border: 1px solid #CCCCCC;
    color: #666666;
    display: block;
    float: left;
    font-family: arial;
    font-size: 11px;
    height: 22px;
    line-height: 22px;
    margin-top: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    vertical-align: middle;
    width: 361px;
}
#box-create #content-left #News-description
{
    border: 1px solid #CCCCCC;
    float: left;
    margin: 15px 0 0px;
    resize: none;
    width: 360px;
}
#box-create #content-left .field-validation-error, #box-create #content-left .field-validation-error span
{
    color: #FF0000;
    display: block;
    font-family: arial !important;
    font-size: 11px !important;
}
#box-create #content-left .field-validation-error
{
    padding-left: 70px;
}
#box-create .msg_error
{
    color: red;
    font-family: arial;
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 10px;
}

/* preview image */
#box-preview
{
    float: left;
    padding-bottom: 25px;
    position: relative;
    text-align: center;
    width: 128px;
    margin-top: 10px;
    overflow: hidden;
}
#box-preview #imgThumbnai
{
    background: none repeat scroll 0 0 white;
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
    display: block;
    font-family: arial;
    font-size: 11px;
    height: 130px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    padding: 1px;
    width: 120px;
    margin-top: 0px !important;
}
#box-preview #ImageNews
{
    bottom: 0;
    left: 0;
    position: absolute;
}
#box-preview a#choose-image
{
    background: url("../images/choose-image.png") no-repeat scroll center center white;
    bottom: 0;
    display: block;
    height: 30px;
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 0;
}
#box-preview input
{
    position:absolute;
    bottom:0px;
    left:0px;
}

/* validate css */

.field-validation-valid
{
    display: none !important;
}
.field-validation-error
{
    color: #FF0000;
}
.input-validation-error
{
    background-color: #FFEEEE;
}
#loading
{
    background: url("../images/bg_loading.png") repeat scroll 0 0 transparent;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index:99;
}
#loading div
{
    background: none repeat scroll 0 0 yellow;
    border: 1px solid #888888;
    color: blue;
    font-family: arial;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    margin: 30px auto 0;
    text-align: center;
    width: 150px;
}
